-
Notifications
You must be signed in to change notification settings - Fork 76
nutanix AHV support #3311
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nutanix AHV support #3311
Conversation
|
Hi @tchernomax and thanks for your contribution, two questions:
|
|
Build action triggered: https://github.com/flatcar/scripts/actions/runs/19104690012 |
I don't really know. I think the best curse of action would be to ask nutanix themself. (if there is no need for
I didn't find any source online. |
|
I’ve asked Nutanix Support to take a look at this PR and provide feedback, just in case it helps |
|
the answer : 1 - Nutanix guest tools isn't opensource. I will provide an update tomorrow or Monday on this. |
Great thanks for asking. That'd be nice to have those guest tools to get the full support. Do you know what they add? I guess it's some helpers for network, system information, etc. ? Do you folks think that'd make sense to wait for this tools or Flatcar can be used without on Nutanix? |
From what I understand (@nutanix please correct me if I am wrong) it's for sending system information from the VM to the host (like ip and such).
We plan on using flatcar without nutanix tools, from the nutanix support told us it's not ideal but the system/flatcar should be fine. |
Ok then, we can start with an image without guest tools and revisit this later. To get back on the first point ( |
|
sorry the Nutanix support team can't help us on this. They have close the case. I have reach out to our account team |
I changed this PR to remove "AHV" reference and only use |
Thanks! I'll setup our CI system to build |
yes (I might not be very responsive but I will make time to tests the images you provide) |
@tormath1 any news ? |
@tchernomax thanks for the heads-up! I started a build, images should be available here: https://bincache.flatcar-linux.net/images/amd64/9999.0.100+tormath1-nutanix/ in a few hours. EDIT: Now available: https://bincache.flatcar-linux.net/images/amd64/9999.0.100+tormath1-nutanix/flatcar_production_nutanix_image.img.bz2 |
@tormath1 I just tried the image https://bincache.flatcar-linux.net/images/amd64/9999.0.100+tormath1-nutanix/flatcar_production_nutanix_image.img.bz2 And it's working properly. I am autologged and the file /toto is created. No service in "failing" state. Everything seems fine. Regards |
|
@tormath1 any news ? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, we can just add one last thing: a changelog entry to be added (similar to https://github.com/flatcar/scripts/blob/main/changelog/changes/2025-06-30-stackit.md)
As this is a new platform, I think we can directly provide images for all channels (alpha, beta, stable, LTS)
I just amend the commit to add
I will let you be judge on that. |
|
Two things:
|
Signed-off-by: Maxime de Roucy <[email protected]>
done
wow… I didn't expected that one… If you think the first point shouldn't be a problem, I can ask my boss if he could move my appointment and free me for the "Flatcar Office Hours". |
I just asked and it's ok → I am free next wednesday 14:30 UTC. So if you think my spoken English shouldn't be a problem I can do a quick presentation of the new nutanix image (dev + live demo). |
|
Cherry-picked to:
|
|
@tchernomax many thanks for the contribution, this will be available in the next set of releases (alpha, beta and stable) around next week. For the Office Hours, it's really open to contributors to show case this kind of contribution. There are usually around 8/9 contributors / maintainers and there's nothing formal (you can prepare some slides or just share your screen without support, you decide!) If you're OK to join, feel free to drop a comment in the discussion to mention a Flatcar / Nutanix demo: flatcar/Flatcar#1907 |
add nutanix AHV support
ignition support nutanix AHV, the only thing to do is to add
flatcar.oem.id=nutanixin the kernel cmdline.However, Nutanix doesn't provide its "Nutanix Guest Tools" in any other format than .deb or .rpm -> so I didn't port it to flatcar.
I managed to create a nutanix AHV flatcar image (without nutanix guest tools... but that doesn't forbid the VM to run) by following this path:
(it tested it on a Nutanix AHV infra, also tried a flatcar update (via nebraska) -> it works)
And creating the VM with the ignition config provided as "cloud_init" "guest_customization":
https://www.nutanix.dev/api_reference/apis/prism_v3.html#tag/vms/paths/~1vms/post
I tried to reproduce this path in this PR, but I can't try the resulting image myself.
It build on my desktop, but I can't upload it to a nutanix AHV platform due to my poor home network connection.
And I failed to build the image on the remote host (where I updated the
flatcar_production_image.bin.bz2official image).How to use
If what I changed in the code is in fact the equivalent of the adding
oem_id="nutanix"in thegrub.cfgof the OEM partition.This PR should be ok.
Otherwise, please guide me (I am a noob in flatcar dev).
Testing done
I created an image :
I tried this ignition config:
and checked that
/totowas actually created at boot.(I also tried some more advanced ignition config).
CI: http://localhost:8080/job/container/job/packages_all_arches/6848/cldsv/